<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>02-创建一个Vue示例-Vue3版本</title>
</head>
<body>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>

    <div id="app">
       {{message}}
    </div>

    <script>
        const { createApp,ref } = Vue

        createApp({
            setup() {
                const message = ref('你好，阿铎')
                return {
                    message
                }
            }
        }).mount('#app')
    </script>

</body>
</html>